require 'action_view'
require 'dynamic_scaffold_resource_patch_active_record_helper'
require 'dynamic_scaffold_resource'

#comment this line out if you have applied the patch
ActionView::Base.send :include, DynamicScaffoldResourcePatchActiveRecordHelper::OverwriteForm
ActionController::Base.send :extend, DynamicScaffoldResource::ClassMethods